package com.lonely.order.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lonely.order.domain.entity.SysOrderTag;
import com.lonely.order.domain.vo.order.OrderTagVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单标签mapper
 *
 * @author fzzf
 */
public interface SysOrderTagMapper extends BaseMapper<SysOrderTag> {


    /**
     * 查询指定订单id集合对应的标签列表
     *
     * @param orderIds
     * @return
     */
    List<OrderTagVO> queryOrderTagsByOrderIds(@Param("orderIds") List<Long> orderIds);
}
